// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license

/**
 * A discussion feed consists of a list of posts. A `.slds-feed__item` contains a post and comments related to that post.
 *
 * @name base
 * @selector .slds-feed
 * @restrict div
 * @support dev-ready
 * @variant
 */
.slds-feed {
  position: relative;
  max-width: rem(784px);
  margin: auto;
}

/**
  * @selector .slds-feed__list
  * @restrict .slds-feed ul
  * @required
  */
.slds-feed__list {
  margin: 0;
  padding: 0;
}

/**
  * @selector .slds-feed__item
  * @restrict .slds-feed__list li
  * @required
  */
.slds-feed__item {
  padding: $var-spacing-vertical-x-small 0;

  @include mq-medium-min {
    padding: $var-spacing-vertical-small 0;
  }
}
